package com.itheima;

/**
 * 2025/3/31 20:59
 */
public class Student {

     String name;
     double chinese;
     double math;

     public void printTotalScore(){
         System.out.println("总分是："+(chinese+math));
     }
     public void printAvgScore(){
         System.out.println("平均分是："+(chinese+math)/2);
     }


}
